package Runtime;

import java.io.IOException;
import java.io.OutputStream;

/**
 * @author wuhan
 * @date 2019/10/8 19:32
 */
public class RuntimeDemo {
    public static void main(String[] args) throws IOException {
        Runtime runtime = Runtime.getRuntime();
        Process pwd = runtime.exec("C:\\apache-tomcat-8.5.39\\bin\\startup.bat");
    }
}
